/* 筛选页面样式 */
.filter-container {
	padding: 20rpx;
	background-color: #f5f7fa;
	min-height: calc(100vh - 200rpx);
	padding-bottom: 120rpx;
}

/* 分组样式 */
.section {
	margin-bottom: 40rpx;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24rpx;
}

.section-title {
	display: flex;
	align-items: center;
}

.title-indicator {
	width: 8rpx;
	height: 32rpx;
	background: linear-gradient(135deg, #0081ff, #1cbbb4);
	border-radius: 4rpx;
	margin-right: 16rpx;
}

.title-text {
	font-size: 32rpx;
	font-weight: 600;
	color: #333;
}

.section-action {
	font-size: 24rpx;
	color: #999;
}

/* 科目网格布局 */
.subjects-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20rpx;
}

/* 科目卡片样式 */
.subject-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 200rpx;
	height: 80rpx;
	background-color: #ffffff;
	border-radius: 12rpx;
	border: 2rpx solid #e8e8e8;
	padding: 0 24rpx;
	transition: all 0.3s ease;
	box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
}

.subject-card.selected {
	background-color: #ffffff;
	border-color: #0081ff;
	box-shadow: 0 4rpx 12rpx rgba(0, 129, 255, 0.15);
}

.subject-card.add-card {
	border: 2rpx dashed #d0d0d0;
	background-color: #fafafa;
}

.subject-card.add-card.selected {
	border: 2rpx solid #0081ff;
	background-color: #f0f8ff;
}

.subject-name {
	font-size: 28rpx;
	color: #333;
	flex: 1;
	text-align: center;
}

.add-card .subject-name {
	margin-left: 8rpx;
}

/* 图标样式 */
.remove-icon {
	position: absolute;
	top: -8rpx;
	right: -8rpx;
	width: 32rpx;
	height: 32rpx;
	background-color: #ff4757;
	color: #ffffff;
	border-radius: 50%;
	font-size: 20rpx;
	display: flex;
	align-items: center;
	justify-content: center;
}

.add-icon {
	font-size: 32rpx;
	color: #0081ff;
	margin-right: 8rpx;
}

.add-card:not(.selected) .add-icon {
	color: #999;
}

/* 底部按钮 */
.bottom-actions {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20rpx;
	background-color: #ffffff;
	border-top: 1rpx solid #e8e8e8;
	z-index: 100;
}

.confirm-btn {
	width: 100%;
	height: 88rpx;
	background: linear-gradient(135deg, #0081ff, #1cbbb4);
	color: #ffffff;
	border: none;
	border-radius: 12rpx;
	font-size: 32rpx;
	font-weight: 600;
	line-height: 88rpx;
	box-shadow: 0 4rpx 16rpx rgba(0, 129, 255, 0.3);
}